package cn.iocoder.devlop.module.annual.report.entuser.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

import static cn.iocoder.devlop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 用户信息 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class EntuserBaseVO {

    @Schema(description = "标识", example = "30996")
    private Long id;

    @Schema(description = "企业标识", example = "23785")
    private String marprid;

    @Schema(description = "注册号")
    private String regno;

    @Schema(description = "企业类型", example = "2")
    private String enttype;

    @Schema(description = "用户名")
    private String logincode;

    @Schema(description = "密码")
    private String loginpwd;

    @Schema(description = "联络人姓名")
    private String linkman;

    @Schema(description = "联络人身份证号码")
    private String ideneffeno;

    @Schema(description = "联络人手机号码")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "来源类型", example = "1")
    private String fromtype;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createdate;

    @Schema(description = "时间戳")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime updatetime;

    @Schema(description = "法定代表人")
    private String lerep;

    @Schema(description = "法人身份证号")
    private String legcerno;

    @Schema(description = "联络员部门")
    private String llydept;

    @Schema(description = "联络员电话")
    private String llytel;

    @Schema(description = "证件类型", example = "1")
    private String certype;

    @Schema(description = "固定电话")
    private String tel;

    @Schema(description = "统一社会信用代码", example = "25194")
    private String uniscid;

    @Schema(description = "短信验证码")
    private String SMSCode;

    @Schema(description = "ip")
    private String ip;

}
